<?php

/*
|--------------------------------------------------------------------------
| Types Routes
|--------------------------------------------------------------------------
|
 */

$router->get('/', [
    'uses' => 'TypesController@index'
]);

$router->post('/', [
    'uses' => 'TypesController@store'
]);

// $router->get('/{id}', [
//     'uses' => 'TypesController@show'
// ]);

$router->put('/{id}', [
    'uses' => 'TypesController@update'
]);

$router->delete('/{id}', [
    'uses' => 'TypesController@destory'
]);
